<div id="container">
	<div id="sidebar">
		<ul class="sideNav">
			<li><a href="<?php Yii::app()->request->baseUrl; ?>/adminka/qnews/add">Добавить новость</a></li>
			<li><a href="<?php Yii::app()->request->baseUrl; ?>/adminka/qnews/edit" class="active">Редактировать новости</a></li>
		</ul>
	</div>

<div id="main">
<div id="del">
	<h2>Удадление новостей</h2>
	<div class="clear"></div>
    <table class="EventList">
	<?php
		foreach( $news as $key )
		{ ?>
		<tr>
			<td><?php echo $key->title; ?></td>
			<td width="42" height="42"><a href="<?php Yii::app()->request->baseUrl; ?>"><img src="<?php Yii::app()->request->baseUrl; ?>/images/adminicons/edit.png" alt="" /></a></td>
			<td width="42" height="42"><a href="<?php Yii::app()->request->baseUrl; ?>"><img src="<?php Yii::app()->request->baseUrl; ?>/images/adminicons/delete.png" alt=""/></a></td>
		</tr>
		<?php } ?>
	
	</table>
</div>



</div><!-- end main -->